<template>
  <div class="register-window">
    <div class="cutout left"></div>
    <div class="cutout right"></div>
    <div class="conference-info">
      <h3 class="uppercase">
        <a
          class="uppercase"
          href="https://denverconvention.com/"
          target="_blank"
          >Denver Convention Center</a
        >
      </h3>
      <h4>November 8-10, 2021</h4>
    </div>
    <div class="register">
      <span>Registration will open soon.</span>
    </div>
  </div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';

export default defineComponent({
  name: 'RegisterWindow',
  props: {},
  setup() {
    //
  },
});
</script>
<style lang="less">
.register-window {
  background: #171714 url(~@/assets/images/bear-friend.svg) 20px no-repeat;
  border-radius: 4px;
  padding: 0 18px 0 54px;
  margin: 0 50px 50px;
  display: flex;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  .conference-info {
    padding: 11px 0 9px;
    h3 {
      a {
        text-decoration: none;
        color: #fffbec;
        letter-spacing: 2px;
        font-weight: 500;
      }
    }
    h4 {
      font-size: 16px;
      color: #ea652c;
      font-weight: 600;
    }
  }
  .register {
    background: url(~@/assets/images/border-image.png) 0 0 repeat-y;
    background-size: 4px auto;
    padding: 0 0 0 15px;
    span {
      font-size: 12px;
      line-height: 64px;
      color: #605d4e;
      font-weight: 500;
    }
  }
  .cutout {
    background: #fffbec;
    position: absolute;
    height: 24px;
    width: 24px;
    border-radius: 12px;
    top: calc(50% - 12px);
    &.left {
      left: -12px;
    }
    &.right {
      right: -12px;
    }
  }
}
@media (max-width: 823px) and (orientation: landscape),
  screen and (max-width: 900px) and (orientation: portrait) {
  .register-window {
    margin: 0 8px 20px;
    display: block;
    background-position: 16px 12px;
    padding-left: 47px;
    .conference-info {
      padding-bottom: 0;
      h3 {
        a {
          letter-spacing: 1px;
        }
      }
    }
    .register {
      background: none;
      padding: 0 0 10px;
      span {
        line-height: 100%;
      }
    }
  }
}
</style>
